<?php
/**
 * @author Artur Bier <izatop@gmail.com>
 * @package Db.Result
 *
 * @copyright TinyWEB CMS
 * @link http://tinywebcms.ru
 * @link http://cms.vingrad.ru
 * @version SVN: $Id$ 
 */
 
 /**
  * DbResult
  */
abstract class DbResult extends Object 
{
    protected $namespace = 'Database';

    /**
     * DB handler
     *
     * @var mysqli
     */
    protected $handler;
    
    /**
     * Result handler
     *
     * @var mysqli_result
     */
    protected $result;
    
    /**
     * Конструктор класса
     * 
     */
    public function __construct($result, mysqli $handler = null)
    {
        $this->handler = $handler;
        $this->result = $result;
        
        $this->onConstruct();
    }
    
    protected function onConstruct() {}
}

/**
 * Tab: 4 spaces
 * Encoding: utf-8
 */
?>